package com.code.monitor.controller;

import com.code.monitor.annotation.Controller;
import com.code.monitor.annotation.RequestMapping;
import com.code.monitor.annotation.ResponseBody;
import com.code.monitor.constants.ResultEntity;
import lombok.extern.slf4j.Slf4j;

/**
 * @author ggh
 * @date 2023/5/8
 */
@Controller
@Slf4j
public class ActivityController {

    /**
     * 查询服务上下线接口
     *
     * @return
     */
    @ResponseBody
    @RequestMapping(value = "/activity")
    public ResultEntity activity() {
        try {


        } catch (Exception e) {
            e.printStackTrace();
        }
        return ResultEntity.fail("查询失败");
    }
}
